package com.tsn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tsn.common.Result;
import com.tsn.entity.Comment;
import com.tsn.entity.Forum;

/**
 * <p>
 * 论坛 服务类
 * </p>
 *
 * @author tsn
 * @since 2021-09-07
 */
public interface ForumService extends IService<Forum> {
    Result listForums();
    Result addForums(Forum forum, Comment comment);
    Result searchForumByWords(String word);
    int addCommentNumber(Integer forumId);

}
